<?php

namespace App\Models;

use App\Models\BookCollection;
use Illuminate\Database\Eloquent\Model;

class BookList extends Model
{
    protected $guarded = [];


    public function bookCollection(){

        return $this->belongsTo(BookCollection::class);

    }

    public function book(){

        return $this->belongsTo(Book::class);

    }

}
